<%@ page language="C#" autoeventwireup="true" inherits="DNS.GauriMariam.Web.Feedbacks, App_Web_s83opvs6" enableeventvalidation="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div id="DivShowNewFeedback" align="right">
            <a href="#pagebottom" onclick="javascript:showNewFeedback();">Add My Feedback !</a>
        </div>

            <asp:GridView ID="GVBlogs" runat="server" Font-Names="Comic Sans MS" Font-Size="X-Small" Style="z-index: 100;" AutoGenerateColumns="False" OnRowDataBound="GVBlogs_RowDataBound" ShowFooter="True" EnableViewState="false">
                <Columns>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:LinkButton ID="LBFeedbackToPosts" runat="server" PostBackUrl="~/Blogs.aspx">Go back to POSTS !</asp:LinkButton>
                        </HeaderTemplate>
                        <FooterTemplate>
                            <asp:LinkButton ID="LBFeedbackToPostsFooter" runat="server" PostBackUrl="~/Blogs.aspx">Go back to POSTS !</asp:LinkButton>
                        </FooterTemplate>
                        <ItemTemplate>
                            <asp:Image ID="IFeedbackMain" runat="server" Style="z-index: 100;" Visible="false" />
                        </ItemTemplate>
                        <ItemStyle BackColor="Transparent" />
                        <HeaderStyle VerticalAlign="Top" />
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:Label ID="LPostDetails" runat="server" Text="Label"></asp:Label>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <asp:Label ID="LFeedback" runat="server" Style="z-index: 100;" Width="100%" Font-Size="Small">
                            </asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:Image ID="IPost" runat="server" BorderStyle="none" />
                        </HeaderTemplate>
                        <ItemTemplate>
                            <asp:Table ID="TFeedbackPics" runat="server" Style="z-index: 100;">
                            <asp:TableRow>
                                <asp:TableCell>
                                   <asp:ImageButton ID="IBFeedbackThumb1" runat="server" Style="z-index: 100;" OnClick="ImageButton_Click" Visible="false" />
                                </asp:TableCell>
                                <asp:TableCell>
                                   <asp:ImageButton ID="IBFeedbackThumb2" runat="server" Style="z-index: 100;" OnClick="ImageButton_Click" Visible="false" />
                                </asp:TableCell>
                            </asp:TableRow>
                            <asp:TableRow>
                                <asp:TableCell>
                                   <asp:ImageButton ID="IBFeedbackThumb3" runat="server" Style="z-index: 100;" OnClick="ImageButton_Click" Visible="false" />
                                </asp:TableCell>
                                <asp:TableCell>
                                   <asp:ImageButton ID="IBFeedbackThumb4" runat="server" Style="z-index: 100;" OnClick="ImageButton_Click" Visible="false" />
                                </asp:TableCell>
                            </asp:TableRow>
                            </asp:Table>
                        </ItemTemplate>
                        <ItemStyle BackColor="Transparent" />
                    </asp:TemplateField>
                </Columns>         
                <RowStyle BackColor="White" ForeColor="DarkSlateGray" />
                <AlternatingRowStyle BackColor="SlateGray" ForeColor="#CCFF99" />
            </asp:GridView>
            <a id="pagebottom"></a>
            <div id="DivNewFeedback" style="visibility: hidden;">
                <asp:Label ID="LFeedbackName" runat="server" Text="Name: " BackColor="#FAFAF0"  Width="10%"></asp:Label>
                <asp:TextBox ID="TBFeedbackName" runat="server" BackColor="#FAFAF0"  Width="35%"></asp:TextBox>
                <asp:Label ID="LFeedbackEmail" runat="server" Text="Email: " BackColor="#FAFAF0"  Width="10%"></asp:Label>
                <asp:TextBox ID="TBFeedbackEmail" runat="server" BackColor="#FAFAF0"  Width="40%"></asp:TextBox>
                <asp:Label ID="LFeedbackTitle" runat="server" Text="Title: " BackColor="#FAFAF0"  Width="8%" Visible="false"></asp:Label>
                <asp:TextBox ID="TBFeedbackTitle" runat="server" BackColor="#FAFAF0"  Width="90%" Visible="false"></asp:TextBox>                            
                <asp:TextBox ID="TBFeedbackContents" runat="server" Style="z-index: 100;" TextMode="MultiLine" Width="100%" Rows="5" BackColor="#FAFAF0"></asp:TextBox>
                <asp:FileUpload ID="FUFeedback1" runat="server" BackColor="#FAFAF0" Width="100%"  BorderWidth="1px" Font-Size="X-Small" />
                <asp:FileUpload ID="FUFeedback2" runat="server" BackColor="#FAFAF0" Width="100%"  BorderWidth="1px" Font-Size="X-Small" />
                <asp:FileUpload ID="FUFeedback3" runat="server" BackColor="#FAFAF0" Width="100%"  BorderWidth="1px" Font-Size="X-Small" />
                <asp:FileUpload ID="FUFeedback4" runat="server" BackColor="#FAFAF0" Width="100%"  BorderWidth="1px" Font-Size="X-Small" />
                <br /><asp:Button ID="BUploadFeedback" runat="server" Style="z-index: 102;" Text="Upload & Submit Blog !" OnClick="BUploadFeedback_Click"/>
            </div>
    </div>
   <script language="javascript" type="text/javascript">
    function showNewFeedback()    
    {
       var newfeedbackdiv = document.getElementById('DivNewFeedback');
       newfeedbackdiv.style.visibility = 'visible';
    }
    </script>
    </form>
</body>
</html>
